package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 续班流失
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("renew_runaway")
@ApiModel(value = "RenewRunaway对象", description = "续班流失")
public class RenewRunaway implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("所在班级id")
    private Long studentGradeId;

    @ApiModelProperty("校区id")
    private Long schoolId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("老师id")
    private Long teacherId;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("季度id")
    private Integer quarterNum;

    @ApiModelProperty("距上次几个季度")
    private Integer diffNum;

    @ApiModelProperty("续班类型：2春续暑，3暑续秋，4秋续寒，1寒续春")
    private Integer type;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("备注")
    private Integer remark;

    private Long createdId;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getStudentGradeId() {
        return studentGradeId;
    }

    public void setStudentGradeId(Long studentGradeId) {
        this.studentGradeId = studentGradeId;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getDiffNum() {
        return diffNum;
    }

    public void setDiffNum(Integer diffNum) {
        this.diffNum = diffNum;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getRemark() {
        return remark;
    }

    public void setRemark(Integer remark) {
        this.remark = remark;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "RenewRunaway{" +
            "id=" + id +
            ", studentGradeId=" + studentGradeId +
            ", schoolId=" + schoolId +
            ", subjectsId=" + subjectsId +
            ", teacherId=" + teacherId +
            ", courseId=" + courseId +
            ", studentId=" + studentId +
            ", quarterNum=" + quarterNum +
            ", diffNum=" + diffNum +
            ", type=" + type +
            ", yearPart=" + yearPart +
            ", remark=" + remark +
            ", createdId=" + createdId +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
